package simplemath.math;

public class ImageData {
	private int dimension = 0;
	private float[] image = null;
	private int[] rowsInfo = null;
	private int normalOffset = -1;
	/**
	 * Number of n tuple value, its equals image.length/dimension
	 */
	private int vertexCount = 0;
	
	public ImageData(){}
	
	public ImageData(int _dimension, float[] _vertices, int _normalOff, int _vertexCount, int[] _rowInfo){
		dimension = _dimension;
		image = _vertices;
		normalOffset = _normalOff;
		vertexCount = _vertexCount;
		rowsInfo = _rowInfo;
	}
	
	public int getVertexCount() {
		return vertexCount;
	}
	public void setVertexCount(int vertexCount) {
		this.vertexCount = vertexCount;
	}
	public float[] getImage() {
		return image;
	}
	public void setImage(float[] vertices) {
		this.image = vertices;
	}
	public int getDimension() {
		return dimension;
	}
	public void setDimension(int variableCount) {
		this.dimension = variableCount;
	}

	public int[] getRowInfo() {
		return rowsInfo;
	}

	public void setRowInfo(int[] indices) {
		this.rowsInfo = indices;
	}
	
	public int getNormalOffset() {
		return normalOffset;
	}

	public void setNormalOffset(int normalOffset) {
		this.normalOffset = normalOffset;
	}
}
